- Title
- Diversity maximization speedup for fault localization
- Creator
- Gong, Liang; Lo, David; Jiang, Lingxiao; Zhang, Hongyu
- Relation
- 2012 27th IEEE/ACM International Conference on Automated Software Engineering (ASE). 2012 27th IEEE/ACM International Conference on Automated Software Engineering (ASE) Proceedings (Essen, Germany 3-7 September, 2012) p. 30-39
- Publisher Link
- http://dx.doi.org/10.1145/2351676.2351682
- Publisher
- Association for Computing Machinery (ACM)
- Resource Type
- conference paper
- Date
- 2012
- Description
- Fault localization is useful for reducing debugging effort. However, many fault localization techniques require non-trivial number of test cases with oracles, which can determine whether a program behaves correctly for every test input. Test oracle creation is expensive because it can take much manual labeling effort. Given a number of test cases to be executed, it is challenging to minimize the number of test cases requiring manual labeling and in the meantime achieve good fault localization accuracy. To address this challenge, this paper presents a novel test case selection strategy based on Diversity Maximization Speedup (DMS). DMS orders a set of unlabeled test cases in a way that maximizes the effectiveness of a fault localization technique. Developers are only expected to label a much smaller number of test cases along this ordering to achieve good fault localization results. Our experiments with more than 250 bugs from the Software-artifact Infrastructure Repository show (1) that DMS can help existing fault localization techniques to achieve comparable accuracy with on average 67% fewer labeled test cases than previously best test case prioritization techniques, and (2) that given a labeling budget (i.e., a fixed number of labeled test cases), DMS can help existing fault localization techniques reduce their debugging cost (in terms of the amount of code needed to be inspected to locate faults). We conduct hypothesis test and show that the saving of the debugging cost we achieve for the real C programs are statistically significant.
- Subject
- test case prioritization; fault localization
- Identifier
- http://hdl.handle.net/1959.13/1357001
- Identifier
- uon:31846
- Identifier
- ISBN:9781450312042
- Language
- eng
- Reviewed
- Hits: 1339
- Visitors: 1318
- Downloads: 0
Thumbnail | File | Description | Size | Format |
---|